package com.jhs.kjs.service.impl;

import java.util.List;
import java.util.Map;

import com.jhs.kjs.dto.CarDestination_DestinationDTO;
import com.jhs.kjs.dto.CarDetailInfo_CarDTO;
import com.jhs.kjs.service.ICarDestinationService;
import com.jhs.kjs.service.dao.ICarDestinationMapper;

public class CarDestinationServiceImpl implements ICarDestinationService {
	
	private ICarDestinationMapper mapper;

	public void setMapper(ICarDestinationMapper mapper) {
		this.mapper = mapper;
	}
	
	@Override
	public List<CarDestination_DestinationDTO> getDestinationList(Map<String, String> param) {
		return mapper.getDestinationList(param);
	}
	@Override
	public void updateDestination(CarDestination_DestinationDTO param) {
		mapper.updateDestination(param);
	}
	@Override
	public void regDestination(CarDestination_DestinationDTO param) {
		mapper.regDestination(param);
	}
	
	@Override
	public CarDetailInfo_CarDTO getCarInfo(Map<String, String> param) {
		return mapper.getCarInfo(param);
	}
}
